Page({
  data: {
    imageListPath:[
      'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1494927304237&di=3fb6569739e27f3015d7508d27bd65f2&imgtype=0&src=http%3A%2F%2Fpic.nipic.com%2F2008-03-11%2F200831117718530_2.jpg',
      'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1494927304236&di=226e95bd0686dfe163344e9a2b4b7086&imgtype=0&src=http%3A%2F%2Fwww.51ps.com%2Fupfile%2F2010%2F11%2F2711_2010112639230434509.jpg',
      'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1494927304236&di=226e95bd0686dfe163344e9a2b4b7086&imgtype=0&src=http%3A%2F%2Fwww.51ps.com%2Fupfile%2F2010%2F11%2F2711_2010112639230434509.jpg',
      'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1494927304233&di=f70d4ef5b4b82c6592f87b70c5c5039d&imgtype=0&src=http%3A%2F%2Foss.huangye88.net%2Flive%2Fuser%2F1620370%2F1450940909010900900-0.jpg'
    ],
    showImagePath: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1494927085630&di=b8a613f19c9b67d4c698eeb612fb2ec0&imgtype=0&src=http%3A%2F%2Fimg002.hc360.cn%2Fg6%2FM04%2F28%2F90%2FwKhQr1NfUT-EXpRzAAAAAIzbT4U315.jpg',
    listTitle: '纯天然矿物质矿泉水',
    price:'15/桶',
    content:'这个矿泉水啊，好的很，喝了一次你就会爱上它了，我们只做大自然的搬运工哟',
    date:'2017-05-18'
  },
  

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
  
  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {
  
  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {
  
  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {
  
  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {
  
  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {
  
  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {
  
  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {
  
  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {
  
  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {
  
  },
  pushContent: function (event){//跳转详情页
    var idxId = event.currentTarget.dataset.idx
    console.log('idxId' + idxId)
   wx.navigateTo({
     url: '/pages/goodsContent/goodsContent',
   })

  }
})